
class Relevance{
    public double A[];
    public double B[];

    public double[] getA() {
        return A;
    }

    public void setA(double[] a) {
        A = a;
    }

    public double[] getB() {
        return B;
    }

    public void setB(double[] b) {
        B = b;
    }
}

public class Test {
    public static void main(String[] args) {
        double A[] = {69.33, 87.05, 61.71,65.88, 65.88, 61.58, 67.65, 59.81, 92.63, 95.02, 96.77, 94.29, 59.01, 62.47, 65.18, 79.46, 76.68, 92.35, 92.72};
        double B[] = { 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 1, 1, 1, 1, 1, 2, 2 };

        double ret=Relevance(A, B, A.length);
    }
}
